package ar.edu.unrn.lia.service;

import java.util.List;
import java.util.Map;

import ar.edu.unrn.lia.model.Alquiler;
import ar.edu.unrn.lia.model.AlquilerCuota;
import ar.edu.unrn.lia.service.exception.BusinessException;

public interface AlquilerService {

	public void save(Alquiler entity)  throws BusinessException;

	public void update(Alquiler entity);

	public void delete(Alquiler entity);

	public Alquiler getEntityById(Long id);

	public List<Alquiler> getAll();

	public Long getCount(Map<String, String> filters);

	public List<Alquiler> getList(Integer page, Integer pagesize,
			Map<String, String> filters, String sortField, Boolean asc);
	
	public List<Alquiler> findByQuery(String query, String propertyFilter,	String orderDirection);
	
	public void alquileresPorVencer();
	
	public List<Alquiler>  alquileresProximoVencer();
	
	public List<AlquilerCuota> alquileresActivosCuotaPendientePorMes(int mes);
	
	
}